﻿using System;

namespace Neitzel.Irc
{
    /// <summary>
    /// EventArg that holds a IrcMessage
    /// </summary>
    public class IrcMessageEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the IrcMessageEventArgs class.
        /// </summary>
        /// <param name="message">The Message that should be handled in the Event.</param>
        public IrcMessageEventArgs(IrcMessage message)
        {
            Message = message;
        }

        /// <summary>
        /// Gets or sets the IrcMessage that was received.
        /// </summary>
        public IrcMessage Message { get; set; }
    }
}
